import request from '@/utils/request';
import { AxiosPromise } from 'axios';


/**
 * 修改
 * 
 * @param data
 */
export function updateMemberTask(data: any) {
  return request({
    url: '/api/member/task/update',
    method: 'post',
    data
  });
}

/**
 * 添加
 *
 * @param data
 */
export function addMemberTask(data: any) {
  return request({
    url: '/api/member/task/add',
    method: 'post',
    data
  });
}


/**
 * 获取List
 *
 * @param data
 */
export function getMemberTaskList(data: any) {
  return request({
    url: '/api/member/task/list',
    method: 'post',
    data
  });
}

/**
 * 获取详情
 *
 * @param data
 */
export function getMemberTaskDetail(data: any) {
  return request({
    url: '/api/member/task/detail',
    method: 'post',
    data
  });
}


/**
 * 删除List
 *
 * @param data
 */
export function deleteMemberTask(data: any) {
  return request({
    url: '/api/member/task/delete',
    method: 'post',
    data
  });
}



